package com.syt.task;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author: xxx
 * @Date: 2023/3/1 21:03
 * @Description: 定时任务
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
@ComponentScan("com.syt")
public class ServiceTaskApplication {
    public static void main(String[] args) {
        System.out.println("定时任务：8207");
        SpringApplication.run(ServiceTaskApplication.class,args);
    }
}
